<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<h2>电影详情</h2>
			<div>{{name}}</div>
			<div>{{score}}</div>
			<div>主演:{{actors}}</div>
			<div>{{showingon}} 上映</div>
			
			
		</div>
		<script src="js/vue.js"></script>
		<script>
			new Vue({
				data:{
					//用于定义页面所需要的数据
					name:'这个杀手不太冷静',
					score:9.6,
					actors:['魏翔','沈腾','玛丽'],
					showingon:'2021-10-15'
				},
				el:'#app' //用于指明 让vue管理里一个div #app
			})
			
	
		</script>
		
	</body>
</html>